projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2092ac4
)
Simplify previous change (auto can only be non-nil if type is).
author
Glenn Morris
<rgm@gnu.org>
Thu, 27 Sep 2007 16:41:34 +0000
(16:41 +0000)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 27 Sep 2007 16:41:34 +0000
(16:41 +0000)
lisp/image.el
patch
|
blob
|
history
diff --git
a/lisp/image.el
b/lisp/image.el
index 77f8ffe02c2168d7980b018159997bd3b5bacb6c..7e42c26dd69b848556a3389a2c26532f74bd6979 100644
(file)
--- a/
lisp/image.el
+++ b/
lisp/image.el
@@
-348,7
+348,7
@@
non-nil value. If that value is non-nil, but not t, then the image type
must be available."
(let* ((type (image-type-from-buffer))
(auto (and type (cdr (assq type image-type-auto-detectable)))))
- (and
type
auto
+ (and auto
(or (eq auto t) (image-type-available-p type)))))